<html>
 <head>
   <title>用户系统</title>
 </head>
 <body>
   <!--{if #member['memberId']}-->
        当前用户: {#member['memberName']}
        <a href="{echo #Controller->getURI('/logout')}">退出</a>
   <!--{else}-->
       <a href="{echo #Controller->getURI('/register')}">注册</a>
       <a href="{echo #Controller->getURI('/login')}">登录</a>
   <!--{/if}-->
 </body>
</html>